import 'package:get/get.dart';

class CountController extends GetxController {
  var count = 1.obs; // 状态

  void inc() {
    // 更新状态
    count++;
  }
}
